<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>万里云微博管理系统</title>
<meta name="description" content="Administry - Admin Template by www.865171.cn" />
<meta name="keywords" content="Admin,Template" />
<!-- Favicons --> 
<link rel="shortcut icon" type="image/png" HREF="img/favicons/favicon.png"/>
<link rel="icon" type="image/png" HREF="img/favicons/favicon.png"/>
<link rel="apple-touch-icon" HREF="img/favicons/apple.png" />
<!-- Main Stylesheet --> 
<link rel="stylesheet" href="css/style.css" type="text/css" />
<!-- Colour Schemes
Default colour scheme is blue. Uncomment prefered stylesheet to use it.
<link rel="stylesheet" href="css/brown.css" type="text/css" media="screen" />  
<link rel="stylesheet" href="css/gray.css" type="text/css" media="screen" />  
<link rel="stylesheet" href="css/green.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/pink.css" type="text/css" media="screen" />  
<link rel="stylesheet" href="css/red.css" type="text/css" media="screen" />
-->
<!-- Your Custom Stylesheet --> 
<link rel="stylesheet" href="css/custom.css" type="text/css" />
<!--swfobject - needed only if you require <video> tag support for older browsers -->
<script type="text/javascript" SRC="js/swfobject.js"></script>
<!-- jQuery with plugins -->
<script type="text/javascript" SRC="js/jquery-1.4.2.min.js"></script>
<!-- Could be loaded remotely from Google CDN : <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> -->
<script type="text/javascript" SRC="js/jquery.ui.core.min.js"></script>
<script type="text/javascript" SRC="js/jquery.ui.widget.min.js"></script>
<script type="text/javascript" SRC="js/jquery.ui.tabs.min.js"></script>
<!-- jQuery tooltips -->
<script type="text/javascript" SRC="js/jquery.tipTip.min.js"></script>
<!-- Superfish navigation -->
<script type="text/javascript" SRC="js/jquery.superfish.min.js"></script>
<script type="text/javascript" SRC="js/jquery.supersubs.min.js"></script>
<!-- jQuery form validation -->
<script type="text/javascript" SRC="js/jquery.validate_pack.js"></script>
<!-- jQuery popup box -->
<script type="text/javascript" SRC="js/jquery.nyroModal.pack.js"></script>
<!-- jQuery data tables -->
<script type="text/javascript" SRC="js/jquery.dataTables.min.js"></script>
<!-- Internet Explorer Fixes --> 
<!--[if IE]>
<link rel="stylesheet" type="text/css" media="all" href="css/ie.css"/>
<script src="js/html5.js"></script>
<![endif]-->
<!--Upgrade MSIE5.5-7 to be compatible with MSIE8: http://ie7-js.googlecode.com/svn/version/2.1(beta3)/IE8.js -->
<!--[if lt IE 8]>
<script src="js/IE8.js"></script>
<![endif]-->
<script type="text/javascript">
$(document).ready(function(){
	
	/* setup navigation, content boxes, etc... */
	Administry.setup();
	
	/* datatable */
	$('#example').dataTable();
	
	/* expandable rows */
	Administry.expandableRows();
});

</script>
</head>
<body>
	<!-- Header -->
	<header id="top">
		<div class="wrapper">
			<!-- Title/Logo - can use text instead of image -->
			<div id="title">万里云微博管理系统<!--<span>Administry</span> demo--></div>
			<!-- Top navigation -->
			<!-- End of Top navigation -->
			<!-- Main navigation -->
			<nav id="menu">
				<ul class="sf-menu">
					<li ><a HREF="main.jsp">  首 页  </a></li>
					<li class="current">
						<a href="#" >小编维护</a>
							<ul>
								<li><a HREF="xiaobian_list">小编维护</a></li>
								<li class="current"><a HREF="kol_list">KOL维护</a></li>
							</ul>
					</li>
					<li>
						<a href="weibo.jsp">微博管理</a>
							<ul>
								<li><a HREF="weibo_pingce">测评</a></li>
								<li><a HREF="weibo_fabu">批量发布</a></li>
								<li><a HREF="weibo_zhuanfa">批量转发</a></li>
								<li><a HREF="weibo_yizhouretie">一周热帖</a></li>
							</ul>
					</li>
					<li>
						<a href="#">舆情监测</a>
							<ul>
								<li><a HREF="jiance">监测列表</a></li>
								<li><a HREF="jiance_guanjianzi">关键字</a></li>
								<li><a HREF="jiance_fenlei">微博分类</a></li>
								<li><a HREF="jiance_weibo">微博账号管理</a></li>
								<li><a HREF="jiance_mail">发送邮件管理</a></li>
							</ul>
					</li>
					<li>
						<a href="#">水军管理</a>
							<ul>
								<li><a HREF="shuijun_zhanghao">维护账号</a></li>
								<li><a HREF="shuijun_caijizhanghao">内容采集账号</a></li>
								<li><a HREF="shuijun_neirongku">内容库</a></li>
								<li><a HREF="shuijun_pinglunku">评论库</a></li>
								<li><a HREF="shuijun_guanzhu">批量关注</a></li>
								<li><a HREF="shuijun_zhuanfa">转发</a></li>
								<li><a HREF="shuijun_pinglun">评论</a></li>
								<li><a HREF="shuijun_fabu">批量发微博</a></li>
							</ul>
					</li>
				</ul>
			</nav>
			<!-- End of Main navigation -->
			<!-- Aside links -->
			
			<!-- End of Aside links -->
		</div>
	</header>
	<!-- End of Header -->
	<!-- Page title -->
	<div id="pagetitle">
		<div class="wrapper">
			<h1>微博关系维护列表</h1>
			<!-- Quick search box -->
			<form action="" method="get"><input class="" type="text" id="q" name="q" /></form>
		</div>
	</div>
	<!-- End of Page title -->
	
	<!-- Page content -->
	<div id="page">
		<!-- Wrapper -->
		<div class="wrapper">
				<!-- Left column/section -->
				<section class="column width6 first">					

					<div class="clear">&nbsp;</div>
					
					<input type="text"/>&nbsp&nbsp<a href="#" class="btn btn-blue"> 搜KOL </a>
					<a href="xiaobian_add.jsp" class="btn btn-green" style="float: right;">  添加KOL  </a>
					<div class="clear">&nbsp;</div>
					<table class="display stylized" >
						<thead>
							<tr>
								<th>企业名称</th>
								<th>负责微博昵称</th>
								<th>姓名</th>
								<th>QQ</th>
								<th>手机</th>
								<th>微信</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
						<c:forEach begin="0" items="${requestScope.initlist}" var="initlist">
							<tr class="gradeX">
								<td >${initlist.qiye}</td>
								<td>${initlist.weibo}</td>
								<td>${initlist.ximing}</td>
								<td>${initlist.qq}</td>
								<td>${initlist.shouji}</td>
								<td>${initlist.weixin}</td>
								<td><a href="http://weibo.com/1682454721">修改</a> | <a href="http://weibo.com/1682454721">删除</a></td>
							</tr>
						</c:forEach>
						</tbody>
					</table>
					<div class="dataTables_info" id="example_info">
					
					<a href="javaScript:history.back()">后退</a> 
			当前页数:[${requestScope.nowPage}/${requestScope.maxPage}]
			<c:choose>
			<c:when test="${requestScope.nowPage==1 && requestScope.appraise_allListMaxPage!=1}">
				<a href="<%=request.getContextPath() %>/kol_list?page=1&op=0"">首 页</a>
				<a href="<%=request.getContextPath() %>/kol_list?page=${requestScope.nowPage+1}">下一页</a>
			</c:when>
			<c:when test="${requestScope.nowPage==requestScope.maxPage && requestScope.maxPage!=1}">
				<a href="<%=request.getContextPath() %>/kol_list?page=${requestScope.nowPage-1}">上一页</a>
				<a href="<%=request.getContextPath() %>/kol_list?page=${sessionScope.appraise_allListMaxPage}">末 页</a>
			</c:when>
			<c:when test="${requestScope.nowPage<requestScope.maxPage && requestScope.maxPage!=1}">
				<a href="<%=request.getContextPath() %>/kol_list?page=${requestScope.nowPage-1}">上一页</a>
				<a href="<%=request.getContextPath() %>/kol_list?page=${requestScope.nowPage+1}">下一页</a>	
			</c:when>
			</c:choose>		 
			<form action="<%=request.getContextPath() %>/kol_list?page=<%=request.getParameter("pageId") %>" method="get">
			<input type="text" name="page" size="1" width="4"><input type="submit" value="跳转" class="btn">
			</form>
					<div style="float: right;">共有KOL：<b style="color: red;font-size: large;">${xiaobianshu}</b>人</div>
					</div>
					<div class="clear">&nbsp;</div>
					<br><br><br>
				</section>
				<!-- End of Left column/section -->
				
				<!-- Right column/section -->
				<aside class="column width2">

					<div class="content-box">
						<header>
							<h3>  公告栏  </h3>
						</header>
						<section>
							KOL联系
						</section>
					</div>
				</aside>
				<!-- End of Right column/section -->
				
		</div>
		<!-- End of Wrapper -->
	</div>
	<!-- End of Page content -->
	
	<!-- Page footer -->
	<footer id="bottom">
		<div class="wrapper">

				<p>Copyright &copy; 2013 <b><a HREF="#" title="">www.social-inc.com</a></b> | Power by <a HREF="#">Simon</a></p>		</div>
	</footer>
	<!-- End of Page footer -->
	
	<!-- Animated footer -->

	<!-- End of Animated footer -->
	
	<!-- Scroll to top link -->
	<a href="#" id="totop">^ scroll to top</a>

<!-- User interface javascript load -->
<script type="text/javascript" SRC="js/administry.js"></script>
</body>
</html>